package com.panghl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @Author panghl
 * @Date 2021/2/3 15:09
 * @Description 整合thymeleaf测试
 **/
@Controller
@RequestMapping("/thymeleaf/")
public class ThymeleafController {
    @RequestMapping("index")
    public String index(Map<String,String> map){
        map.put("code","test");
        return "emailTemplate";
    }
}
